<?php /* Smarty version 2.6.6, created on 2013-10-24 23:49:23
         compiled from signup.tpl */ ?>
<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2><?php echo $this->_tpl_vars['lang242']; ?>
</h2>
		<div id="public_wrap">
        	<form id="new_user" name="new_user" action="<?php echo $this->_tpl_vars['baseurl']; ?>
/signup.php" method="post" class="new_user">
				<?php if ($this->_tpl_vars['error'] != ""): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['showmessage'] != ""): ?>
                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_message.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                <?php endif; ?>
            <p>
              <label for="user_login"><?php echo $this->_tpl_vars['lang163']; ?>
</label>
              	<input name="username" id="username" type="text" value="<?php echo $_REQUEST['username']; ?>
" size="30" />
              	<br />
              	<span id="checkavailable"><a href="#usernamecheck" onclick="fxCheckUsername('checkavailable','username')">[<?php echo $this->_tpl_vars['lang243']; ?>
]</a></span>
                <span id="isavailable" style="display:none">[<?php echo $this->_tpl_vars['lang244']; ?>
]</span>
                <span id="isnotavailable" style="display:none">[<?php echo $this->_tpl_vars['lang245']; ?>
]</span>
                <span id="usernameisempty" style="display:none"><?php echo $this->_tpl_vars['lang246']; ?>
</span>
                <span id="checkagain" style="display:none"><a href="#usernamecheckagain" onclick="fxCheckUsername('checkavailable','username')">[<?php echo $this->_tpl_vars['lang247']; ?>
]</a></span>
            </p>
            <p class="add_top">
              	<label for="user_email_address"><?php echo $this->_tpl_vars['lang160']; ?>
</label>
        	  	<input type="text" name="email" value="<?php echo $_REQUEST['email']; ?>
" size="30"/>
            </p>
            <p>
              <label for="user_email_address_confirmation"><?php echo $this->_tpl_vars['lang134']; ?>
</label>
              	<input class="check" type="radio" value="1" name="gender" id="gender" <?php if ($_REQUEST['gender'] != '0'): ?>checked<?php endif; ?>> <?php echo $this->_tpl_vars['lang135']; ?>
&nbsp;&nbsp;&nbsp;
            	<input class="check" type="radio" value="0" name="gender" id="gender" <?php if ($_REQUEST['gender'] == '0'): ?>checked<?php endif; ?>> <?php echo $this->_tpl_vars['lang136']; ?>

            </p>
            <p class="add_top">
              	<label for="user_password"><?php echo $this->_tpl_vars['lang225']; ?>
</label>
        		<input type="password" name="password" value="" size="30" id="password" onkeydown="updateMeter();" onkeyup="updateMeter();" /><br/>
            </p>
            <p class="add_top">
            	<div style="padding-left:150px;">
              	<link href="<?php echo $this->_tpl_vars['cssurl']; ?>
/passwordmeter.css" rel="stylesheet" type="text/css" />
		        <div class="strengthMeter" id="strengthMeter"><div class="scoreBar" id="scoreBar"></div></div>
                </div>
            </p>
            <p>
              	<label for="user_password_confirmation"><?php echo $this->_tpl_vars['lang248']; ?>
</label>
              	<input type="password" name="confirmpassword" value="" size="30"/>
            </p>              
            <p class="add_top_long">
              <?php echo $this->_tpl_vars['lang250']; ?>
 <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/termsofuse.php" target="_blank"><?php echo $this->_tpl_vars['lang251']; ?>
</a>.
            </p>
               
            <?php if ($this->_tpl_vars['enable_captcha'] != '0'): ?>
            <p class="padded-form">
              <img src="<?php echo $this->_tpl_vars['baseurl']; ?>
/include/captcha.php" />
        	</p>
            <p>
              	<label for="captcha"><?php echo $this->_tpl_vars['lang249']; ?>
</label>
                <input name="imagecode" type="text" value="" size="30"/>
            </p>
            <?php endif; ?>
            
            <p><br /><button type="submit"><?php echo $this->_tpl_vars['lang171']; ?>
</button></p>
			<input type="hidden" name="register" value="<?php echo $this->_tpl_vars['lang171']; ?>
" />
            <input type="hidden" name="redirect" value="<?php echo $_REQUEST['redirect']; ?>
" />
          </form>
		</div>      
        <div class="clear"></div>
	</div>
</div>